projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe57d1
)
(pos_visible_p): Yet another int/Lisp_Object mixup (YAILOM).
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 26 Aug 2005 15:56:48 +0000
(15:56 +0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 26 Aug 2005 15:56:48 +0000
(15:56 +0000)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 5306533dd592b26ae758264bada9e610577c79fd..f81dfb6755a2a8189042c3fad714054b15c51b37 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-1347,8
+1347,8
@@
pos_visible_p (w, charpos, x, y, rtop, rbot, exact_mode_line_heights_p)
current_header_line_height = current_mode_line_height = -1;
- if (visible_p &&
w->hscroll
> 0)
- *x -=
w->hscroll
;
+ if (visible_p &&
XFASTINT (w->hscroll)
> 0)
+ *x -=
XFASTINT (w->hscroll)
;
return visible_p;
}